package model;

import java.util.ArrayList;

/**
 * This Class is a ButtonRequest Model which Saves requests Buttons in ArrayList which contains object of ButtonRequest class.
 * @author Tal
 *
 */
public class ButtonRequestModel 
{
	ArrayList<ButtonRequest>  btnReq=null;
	
	/**
	 * This is ButtonRequestModel constructor.
	 * @param btnReq.
	 */
	public ButtonRequestModel()
	{
		if (btnReq==null)
		this.btnReq=new ArrayList<ButtonRequest>();
	}
	
	/**
	 * This method returns ArrayList of <ButtonRequest>.
	 * @return ArrayList btnReq.
	 */
	public ArrayList<ButtonRequest> getButtonRequest()
	{
		return this.btnReq;
	}
	/**
	 * This method remove all of ButtonRequest.
	 *
	 */
	
	public  void RemoveButtonRequest()
	{
		this.btnReq.removeAll(getButtonRequest());
	}

}
